(custom-face-edit-fix-value): Change :reverse-video to :inverse-video.
authorAndreas Schwab <schwab@suse.de>
Sat, 7 Dec 2002 20:47:33 +0000 (20:47 +0000)
committerAndreas Schwab <schwab@suse.de>
Sat, 7 Dec 2002 20:47:33 +0000 (20:47 +0000)
lisp/cus-edit.el

index 67d25b2ea7af8c148c33f3bb7b9623e7e6b85418..c457d149d7709bb97083c6614a9a661d6c31d2e9 100644 (file)
@@ -2553,7 +2553,8 @@ to switch between two values."
                custom-face-attributes))
 
 (defun custom-face-edit-fix-value (widget value)
-  "Ignoring WIDGET, convert :bold and :italic in VALUE to new form."
+  "Ignoring WIDGET, convert :bold and :italic in VALUE to new form.
+Also change :reverse-video to :inverse-video."
   (if (listp value)
       (let (result)
        (while value
@@ -2565,6 +2566,9 @@ to switch between two values."
                  ((eq key :bold)
                   (push :weight result)
                   (push (if val 'bold 'normal) result))
+                 ((eq key :reverse-video)
+                  (push :inverse-video result)
+                  (push val result))
                  (t 
                   (push key result)
                   (push val result))))